<div class="sidebar-right">
    <div class="sidebar-right-title">
        <div class="sidebar-right-title-l">日志查看</div>
        <div class="clear"></div>
    </div>
    <div class="engine-tab-content project-management">
        <div class="engine-form engine-form-v">
            <div class="m-form-group">
                <div class="attribute-form-group-l">规则包名：</div>
                <div class="attribute-form-group-r">
                    <g-data-source
                            url="/grule-manager/rulePackage/getPagePackage"
                            page-size="10"
                            current-page="1"
                            records-prop="records"
                            total-page-field = "totalPage"
                            data-source-name="packageSource"
                            total-record-prop="totalRecord"
                            allow-auto-load = "true"
                            page="true"
                            current-page-param="currentPage"
                            >
                    </g-data-source>
                    <g-associate ng-cloak data-source-name="packageSource" keyword-prop="name" selected-row="selectedRow1" 
                                 delay-time="400" ng-model="reportParams.packageName" display-init="reportParams.packageName" display-express="name" unmatch-remove="true">
                        <g-associate-column width="50px" display-express="name" >规则包名</g-associate-column>
                    </g-associate>
                </div>
                <div class="clear"></div>
            </div>
            <div class="m-form-group">
                <div class="attribute-form-group-l">开始时间：</div>
                <div class="attribute-form-group-r">
                    <g-date
                            ng-model="reportParams.startTime"
                            format="yyyy-MM-dd HH:mm:00"
                            width="180px"></g-date>
                </div>
                <div class="clear"></div>
            </div>
            <div class="m-form-group">
                <div class="attribute-form-group-l">结束时间：</div>
                <div class="attribute-form-group-r">
                    <g-date
                            ng-model="reportParams.endTime"
                            format="yyyy-MM-dd HH:mm:00"
                            width="180px"></g-date>
                </div>
            </div>
            <div class="m-form-group">
              <div class="attribute-form-group-l"><button type="button" class="engine-btn-default" ng-click="searchLogger()"><i class="icon-engine-search"></i>查询</button></div>
            </div>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>

        <div>
            <g-data-source url="/grule-manager/errLog" data-source-name="LoggerSource"
                           page="true" data-params="reportParams"></g-data-source>
            <g-data-grid data-source-name="LoggerSource"
                         g-height="300"
                         ng-cloak>
                <g-column width="" data="exceptionTime |date:'yyyy-MM-dd HH:mm:ss'">时间</g-column>
                <g-column width="" data="projectName">项目名</g-column>
                <g-column width="" data="packageName">规则包名</g-column>
                <g-column width="" data="inParameters">入参信息</g-column>
                <g-column width="" data="message">错误信息</g-column>
            </g-data-grid>
            <g-pagination-navi source-name="LoggerSource"></g-pagination-navi>
            <g-pagination-size source-name="LoggerSource"></g-pagination-size>
        </div>
    </div>
</div>
</div>
</div>
